//
//  ListsViewController.h
//  EducationAdminClient
//
//  Created by kwsdzjx on 15/11/26.
//  Copyright © 2015年 周佳兴. All rights reserved.
//


#import "BaseAllViewController.h"
#import "ThingsModel.h"

@class SelectRelationViewController; // 循环引用说明

@interface ListsViewController : BaseAllViewController<UIAlertViewDelegate,UIActionSheetDelegate,UIViewControllerPreviewingDelegate>
@property (assign, nonatomic)BOOL               longSelected;
@property (assign, nonatomic)UIBarButtonItem    *normalBtn;
@property (assign, nonatomic)UIButton           *completeBtn;
@property (assign, nonatomic)UIButton           *leftBtn;
@property (strong, nonatomic)NSMutableArray     *boolArr;
@property (strong, nonatomic)NSMutableArray     *deleteArr;
@property (strong, nonatomic)NSDictionary       *dataDic;
@property (nonatomic,copy)NSString              *menu_url;
@property (nonatomic,copy)NSString              *isPop;
@property (nonatomic, copy)NSString             *menuName;
//@property(nonatomic,copy)NSString *fieldTIme;
//@property(nonatomic,copy)NSString *btnTime;
//@property(nonatomic,copy)NSString *operaTIme;
//@property(nonatomic,copy)NSString *dataTime;
@property(nonatomic, assign)BOOL                isTimeLine;//时间轴
@property(nonatomic,copy)NSString               *shouldReloadList;
@property(nonatomic,copy)NSString               *pageId;
@property(nonatomic,copy)NSString               *tableId;
@property(nonatomic,retain)NSMutableArray       *allArr;
@property(nonatomic,retain)NSMutableArray       *secondArr;
@property(nonatomic,copy)NSMutableDictionary    *searchDic;
@property (nonatomic, copy)NSMutableArray       *titleArr;
@property(assign,nonatomic)BOOL                 needRefush;// maybe sometime need not refush

@property(assign,nonatomic)BOOL                 isSelectedCell;
@property(assign,nonatomic)BOOL                 fromThings;// 事物看板判断页面

@property (strong, nonatomic)ThingsModel        *model;
@property (assign, nonatomic)BOOL               isNeedDownload;//YES的时候标示有下载功能，需要过滤掉最后一条列表数据并存储。

@property (strong, nonatomic)UIView             *TopSelectbgView;//头部的背景view
@property (assign, nonatomic)NSInteger          TopSelectBtnCount;//头部按钮个数
@property (strong, nonatomic)UIView             *BtnLineView;//下面小蓝线
@property (assign, nonatomic)BOOL             isNine;//下面小蓝线
@property(assign,nonatomic)BOOL                 TeacherNeedDownLoad;//教师需要下载
@property(assign,nonatomic)BOOL               isMeeting;//是否是家长会
@property(assign,nonatomic)BOOL               isSecond;
@property (nonatomic, strong)NSString         *NeedLeftAndRightModel;//是否需要单独左右结构


@property (strong, nonatomic)NSDictionary     *relationDataDic; // 相关项列表 数据源
@property(nonatomic,copy)NSString *mainId;                      // 相关项列表所需 Id
@property(nonatomic,copy)NSString *mainPageId;                  // 相关项列表所需 Id
@property(nonatomic,copy)NSString *mainTableId;                 // 相关项列表所需 Id

-(void)setBoolForLeftRight:(BOOL)boolValue;

@end
